package com.hmys.api.mapper;

import com.hmys.api.model.WebCity;
import com.hmys.api.model.WebCityWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebCityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebCityWithBLOBs record);

    int insertSelective(WebCityWithBLOBs record);

    WebCityWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebCityWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WebCityWithBLOBs record);

    int updateByPrimaryKey(WebCity record);

    List<WebCity> selectByBean(WebCity record);
}